import { Form,Table,Pagination,Dialog,Button,Dropdown,DropdownMenu,DropdownItem,Menu,MenuItem,Breadcrumb,BreadcrumbItem,FormItem,Input,Select,Option,Col,DatePicker,TableColumn, Message, MessageBox,Container,Header,Aside,Main} from 'element-ui';
let elementUIs = [ Form,Table,Pagination,Dialog,Button,Dropdown,DropdownMenu,DropdownItem,Menu,MenuItem,Breadcrumb,BreadcrumbItem,FormItem,Input,Select,Option,Col,DatePicker,TableColumn,Container,Header,Aside,Main];

export default{
    install(Vue){
        elementUIs.forEach(elementUI => {
            Vue.use(elementUI)
        })
        Vue.prototype.$message = Message;
        Vue.prototype.$confirm = MessageBox.confirm;
    }
}